export class LoginData {
  body: Body;
  code: number;
  msg: string;
  tm: number;
};

export class Body {
  token: string;
  userinfo: Userinfo;
};

export class Userinfo {
  account: Account;
  jobs?: Array<Job>;
  menus?: Array<Menu>;
  roles: Array<Roles>;
  user: User;
  userInfo: UserInfo;
};

export class Menu{
  id:string;
  ctm:number;
  mtm:number;
  caid:string;
  cuid:string;
  maid:string;
  muid:string;
  deptid:string;
  jobid:string;
  status:number;
  test:number;
  version:string;
  menuCode:string;
  menuName:string;
  parentMenuCode:string;
  menuUrl:string;
  menuCss:string;
  orderNo:number;
  //children:Array<Children>;
}



export class Job{
   id:string;
  ctm:number;
  mtm:number;
  status:number;
  test:number;
  title:string;
  jobDesc:string;
  level:number;
  pid:string;
  orgId:string;
}

export class Account {
  accountName: string;
  ctm: number;
  id: string;
  latestLoginTm: number;
  loginname: string;
  mtm: number;
  status: number;
  test: number;
  userId: string;
};

export class Roles {
  ctm: number;
  id: string;
  mtm: number;
  orgId?: any;
  roleCode: string;
  roleDesc: string;
  roleName: string;
  status: number;
  test: number;
};

export class User {
  auditRes: string;
  auditTm: number;
  avatar: string;
  avatarUrl: string;
  birthDay: number;
  clinicAddress: string;
  ctm: number;
  focus: number;
  follows: number;
  fullname: string;
  id: string;
  loves: number;
  mtm: number;
  nickName: string;
  nickname: string;
  province: number;
  regTm: number;
  shopPurQualAudit: number;
  status: number;
  tel: string;
  test: number;
};

export class UserInfo {
  adminDivision?: any;
  appleBind: number;
  auditReason?: any;
  consultationClinicName: string;
  consultationRole: string;
  consultationUnreadCount: number;
  fullname: string;
  nickName: string;
  passwordBind: number;
  qrCodeUrl: string;
  tel: string;
  wxBind: number;
};


